package com.cdu.ai_intelligent_teaching_and_training_system.mapper;

import com.cdu.ai_intelligent_teaching_and_training_system.entity.UserAnsweredQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserAnsweredQuestionMapper {
    // 根据exam_id查询前10条答题记录
    List<UserAnsweredQuestion> selectTop10ByExamId(@Param("examId") Integer examId);
} 